basic switch configuration